<?php
include_once "../model/db.php";

$inputCategory = $_POST;
if ($inputCategory == null) {
    echo getAllTitleList();
} else {
    echo getTitleList($inputCategory);
}
